import request from '@/utils/requiest'
interface MyHotListParams {
    count?: number,
    limitNum?: number
  }
export const hotListApi =(info:MyHotListParams)=>request.get('/pro/seckilllist',{
    params: info
  })
// 获取商品列表
export const goodsListApi =(info:{count:number,limitNum?:number}) =>request.get('/pro/list', {
  params: info})
// 热门搜索的接口
export const hotSearchApi =()=>request.get('/pro/hotword')
// 模糊搜索的接口
export const searchListApi=(keyword:string,count?:number )=>request.get('/pro/search',{params:{keyword}})